Platform Explorer / Nuxeo Platform 6.0

Contribution org.nuxeo.drive.actions--actions

This contribution is part of XML component org.nuxeo.drive.actions inside nuxeo-drive-jsf-6.0.jar

Extension Point

Extension point actions of component ActionService.

Contributed Items

  • <action icon="/icons/drive_unsynced.png" id="driveSynchronizeCurrentDocument" label="command.driveSynchronizeFolder" link="#{nuxeoDriveActions.synchronizeCurrentDocument}" order="25" type="link">
          <category>DOCUMENT_UPPER_ACTION</category>
          <filter-id>can_sync_current_doc</filter-id>
        </action>
  • <action icon="/icons/drive_synced.png" id="driveUnsynchronizeCurrentDocument" label="command.driveUnsynchronizeFolder" link="#{nuxeoDriveActions.unsynchronizeCurrentDocument}" order="25" type="link">
          <category>DOCUMENT_UPPER_ACTION</category>
          <filter-id>can_unsync_current_doc</filter-id>
        </action>
  • <action icon="/icons/drive_synced_under_root.png" id="driveNavigateToCurrentSynchronizationRoot" label="command.navigateToSynchronizationRoot" link="#{nuxeoDriveActions.navigateToCurrentSynchronizationRoot}" order="25" type="link">
          <category>DOCUMENT_UPPER_ACTION</category>
          <filter-id>can_navigate_to_current_synchronization_root
          </filter-id>
        </action>
  • <action icon="/icons/drive_edit.png" id="driveEdit" label="command.driveEdit" link="#{nuxeoDriveActions.driveEditURL}" order="26" type="bare_link">
          <category>DRIVE_EDIT</category>
          <filter-id>can_drive_edit</filter-id>
          <filter-id>has_one_auth_token</filter-id>
        </action>
  • <action icon="/icons/drive_edit.png" id="driveEditUserCenterNuxeoDrive" label="command.driveEdit" link="#{nuxeoDriveActions.navigateToUserCenterNuxeoDrive}" order="27">
          <category>DRIVE_EDIT</category>
          <filter-id>can_drive_edit</filter-id>
          <filter-id>has_no_auth_token</filter-id>
        </action>
  • <action icon="/icons/drive_edit.png" id="infoViewDriveEdit" label="command.driveEdit" link="#{nuxeoDriveActions.driveEditURL}" order="35" type="bare_link">
          <category>INFO_VIEW_ACTIONS</category>
          <filter-id>can_drive_edit</filter-id>
          <filter-id>has_one_auth_token</filter-id>
        </action>
  • <action icon="/icons/drive_tab.png" id="userCenterNuxeoDrive" label="user.center.nuxeoDrive" link="/incl/nuxeodrive/user_center_nuxeo_drive.xhtml" order="100">
          <category>USER_CENTER</category>
        </action>

XML Source

<extension point="actions" target="org.nuxeo.ecm.platform.actions.ActionService">

    <action icon="/icons/drive_unsynced.png" id="driveSynchronizeCurrentDocument" label="command.driveSynchronizeFolder" link="#{nuxeoDriveActions.synchronizeCurrentDocument}" order="25" type="link">
      <category>DOCUMENT_UPPER_ACTION</category>
      <filter-id>can_sync_current_doc</filter-id>
    </action>

    <action icon="/icons/drive_synced.png" id="driveUnsynchronizeCurrentDocument" label="command.driveUnsynchronizeFolder" link="#{nuxeoDriveActions.unsynchronizeCurrentDocument}" order="25" type="link">
      <category>DOCUMENT_UPPER_ACTION</category>
      <filter-id>can_unsync_current_doc</filter-id>
    </action>

    <action icon="/icons/drive_synced_under_root.png" id="driveNavigateToCurrentSynchronizationRoot" label="command.navigateToSynchronizationRoot" link="#{nuxeoDriveActions.navigateToCurrentSynchronizationRoot}" order="25" type="link">
      <category>DOCUMENT_UPPER_ACTION</category>
      <filter-id>can_navigate_to_current_synchronization_root
      </filter-id>
    </action>

    <action icon="/icons/drive_edit.png" id="driveEdit" label="command.driveEdit" link="#{nuxeoDriveActions.driveEditURL}" order="26" type="bare_link">
      <category>DRIVE_EDIT</category>
      <filter-id>can_drive_edit</filter-id>
      <filter-id>has_one_auth_token</filter-id>
    </action>

    <action icon="/icons/drive_edit.png" id="driveEditUserCenterNuxeoDrive" label="command.driveEdit" link="#{nuxeoDriveActions.navigateToUserCenterNuxeoDrive}" order="27">
      <category>DRIVE_EDIT</category>
      <filter-id>can_drive_edit</filter-id>
      <filter-id>has_no_auth_token</filter-id>
    </action>

    <action icon="/icons/drive_edit.png" id="infoViewDriveEdit" label="command.driveEdit" link="#{nuxeoDriveActions.driveEditURL}" order="35" type="bare_link">
      <category>INFO_VIEW_ACTIONS</category>
      <filter-id>can_drive_edit</filter-id>
      <filter-id>has_one_auth_token</filter-id>
    </action>

    <action icon="/icons/drive_tab.png" id="userCenterNuxeoDrive" label="user.center.nuxeoDrive" link="/incl/nuxeodrive/user_center_nuxeo_drive.xhtml" order="100">
      <category>USER_CENTER</category>
    </action>

  </extension>